<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .rich {
        color: gold;
      }

      .beauty {
        color: red;
      }

      .dog {
        color: blue;
      }

      .pig {
        color: green;
      }

      .rich,
      .beauty,
      .dog,
      .pig,
      .suxi {
        font-size: 40px;
        background-color: gray;
        width: 180px;
      }
    </style>
  </head>
  <body>
    <h2 class="rich">土豪张三</h2>
    <h2 class="beauty">明星李四</h2>
    <h2>破产王五(不加任何样式)</h2>
    <hr />
    <p class="dog">小狗旺财</p>
    <p class="pig">小猪佩奇</p>
    <p class="suxi">小样苏溪</p>
  </body>
</html>
